
import axios from "axios"


const instance =axios.create({
    baseURL:"",
    timeout:5000

})


const request = (payload) =>{
 
    return instance.request({
        ...payload
    }).then(res=>res.data).catch(err=>err)
}